package com.jader.beans;

import java.io.Serializable;

public class Shopcart implements Serializable {

	private static final long serialVersionUID = 1L;
	private int shopcartid;
	private int userid;
	private int goodsid;
	private int number;

	public Shopcart() {
		super();
	}

	public Shopcart(int shopcartid, int userid, int goodsid, int number) {
		super();
		this.shopcartid = shopcartid;
		this.userid = userid;
		this.goodsid = goodsid;
		this.number = number;
	}

	public int getShopcartid() {
		return shopcartid;
	}

	public void setShopcartid(int shopcartid) {
		this.shopcartid = shopcartid;
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	public int getGoodsid() {
		return goodsid;
	}

	public void setGoodsid(int goodsid) {
		this.goodsid = goodsid;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	@Override
	public String toString() {
		return "Shopcart [shopcartid=" + shopcartid + ", userid=" + userid
				+ ", goodsid=" + goodsid + ", number=" + number + "]";
	}

}
